<?php
/**
 * 添加学生信息
 */
?>
<!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>添加学生信息</title>
</head>
<body>
    <?php include ('index.php')?>
    <h3>添加学生信息</h3>
    <form action="action.php?action=add" method="post">
        <table>
            <tr>
                <td>姓名</td>
                <td colspan="2"><input type="text" name="name"></td>
            </tr>
            <tr>
                <td>年龄</td>
                <td colspan="2"><input type="text" name="age"></td>
            </tr>
            <tr>
                <td>性别</td>
                <td><input type="radio" name="sex" value="男">男</td>
                <td><input type="radio" name="sex" value="女">女</td>
            </tr>
            <tr>
                <td>班级</td>
                <td colspan="2"><input type="text" name="class"></td>
            </tr>
            <tr>
                <td><a href="index.php">返回</a></td>
                <td><input type="submit" value="添加"></td>
                <td><input type="reset" value="重置"></td>
            </tr>
        </table>
    </form>
</body>
</html>
